package com.student.client.entity;
/*
    请假实体
    attendance_id id
    attendance_type 请假类型（事假、病假）
    start_time 开始时间
    end_time 结束时间
    phonenumber 联系电话
    content 内容
    photo_url 图片url
 */
public class Attendance {
    private String attendance_id;//id
    private String attendance_type;//请假类型
    private String start_time;//起止时间

    private String end_time;
    private String phonenumber;//联系电话
    private String content;//内容
    private String photo_url;//图片本地url

    public Attendance(String attendance_id, String attendance_type, String start_time, String end_time, String phonenumber, String content, String photo_url) {
        this.attendance_id = attendance_id;
        this.attendance_type = attendance_type;
        this.start_time = start_time;
        this.end_time = end_time;
        this.phonenumber = phonenumber;
        this.content = content;
        this.photo_url = photo_url;
    }

    public String getAttendance_id() {
        return attendance_id;
    }

    public void setAttendance_id(String attendance_id) {
        this.attendance_id = attendance_id;
    }

    public String isAttendance_type() {
        return attendance_type;
    }

    public void setAttendance_type(String attendance_type) {
        this.attendance_type = attendance_type;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPhoto_url() {
        return photo_url;
    }

    public void setPhoto_url(String photo_url) {
        this.photo_url = photo_url;
    }

    @Override
    public String toString() {
        return "Attendance{" +
                "attendance_id='" + attendance_id + '\'' +
                ", attendance_type=" + attendance_type +
                ", start_time='" + start_time + '\'' +
                ", end_time='" + end_time + '\'' +
                ", phonenumber='" + phonenumber + '\'' +
                ", content='" + content + '\'' +
                ", photo_url='" + photo_url + '\'' +
                '}';
    }
}
